<?php /* Smarty version 2.6.18, created on 2016-12-16 13:34:33
         compiled from column/mod.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "public/header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>	
<div id="page-wrapper">
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "public/title.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    <form  method="post" action="<?php echo $this->_tpl_vars['url']; ?>
/update">
		
		<ul class="list-group">
			<input type="hidden" name="id" value="<?php echo $this->_tpl_vars['post']['id']; ?>
">
			<li class="list-group-item">
				<span class="label label-info">上级栏目</span>
					<?php echo $this->_tpl_vars['select']; ?>

				</li>
			<li class="list-group-item">
				<span class="label label-info">栏目标题<span class="red_font">*</span></span>
				<input type="text" class="form-control" name="title" size="20" value="<?php echo $this->_tpl_vars['post']['title']; ?>
">
			</li>
			<li class="list-group-item">
				<span class="label label-info" style="margin-top:30px">栏目描述</span>
				<textarea class="form-control" name="description" cols="30" rows="5"><?php echo $this->_tpl_vars['post']['description']; ?>
</textarea>
			</li>
			<li class="list-group-item">
						<span class="label label-info">栏目图片</span>
						<input type="hidden" id="picId" name="picid" value="">
						<img  style="cursor:pointer;"  onclick="showWin('<?php echo $this->_tpl_vars['app']; ?>
/image/open')"  src="<?php echo $this->_tpl_vars['public']; ?>
/uploads/<?php echo $this->_tpl_vars['post']['picname']; ?>
" alt="图片预览" width=100 height="100" id="pic">		
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="button"  class="button"  onclick="showWin('<?php echo $this->_tpl_vars['app']; ?>
/image/open')" value="浏览...">	
			</li>
			<li class="list-group-item">
				<span class="label label-info">是否审核</span>
				<input type="radio"  name="audit" <?php if ($this->_tpl_vars['post']['audit'] == 1): ?>checked<?php endif; ?>  value="1"> 需要
				<input type="radio"  name="audit" <?php if ($this->_tpl_vars['post']['audit'] == 0): ?>checked<?php endif; ?> value="0"> 没必要
			</li>	
			<li class="list-group-item">
					<button type="submit" class="btn btn-primary">修 改</button>
				    &nbsp;&nbsp;
				    <button type="reset"  class="btn btn-primary">重 置</button>
				    &nbsp;&nbsp;
					<button type="button" class="btn btn-primary" onclick="if(confirm('确定要删除吗?')) window.location='<?php echo $this->_tpl_vars['url']; ?>
/del/id/<?php echo $this->_tpl_vars['post']['id']; ?>
'">删 除</button>
			</li>
		</ul>	
    </form>	
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "public/footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>	

